package com.easygo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class User implements Serializable {
  private static final long serialVersionUID = 1L;
  @TableId(value = "id",type = IdType.AUTO)
  private Long id;

  private String username;
  private String password;
  private String phone;
  private String email;
  private String created;
  private String updated;

  @TableField("source_type")
  private String sourceType;

  @TableField("nick_name")
  private String nickName;

  private String name;
  private String status;

  @TableField("head_pic")
  private String headPic;

  private String qq;

  @TableField("account_balance")
  private Double accountBalance;

  @TableField("is_mobile_check")
  private String isMobileCheck;

  @TableField("is_email_check")
  private String isEmailCheck;

  private String sex;

  @TableField("user_level")
  private Long userLevel;

  private Long points;

  @TableField("experience_value")
  private Long experienceValue;

  private String birthday;

  @TableField("last_login_time")
  private String lastLoginTime;

  private Long del;
}